/**
 * Copyright (C), 2015-2021, XXX有限公司
 * FileName: MaterialService
 * Author:   Administrator
 * Date:     2021/8/3 0003 19:15
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package cn.hxlc.tie.demo.modular.material.service;

import cn.hxlc.tie.demo.core.enums.StatusEnum;
import cn.hxlc.tie.demo.modular.material.entity.Material;
import cn.hxlc.tie.demo.modular.material.model.param.MaterialParam;
import cn.hxlc.tie.demo.modular.material.model.result.MaterialResult;
import cn.hxlc.tie.model.page.PageResult;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 〈一句话功能简述〉<br>
 * 〈〉
 *
 * @author jf.x
 * @create 2021/8/3 0003
 * @since 1.0.0
 */
public interface MaterialService extends IService<Material> {

//    MaterialResult findBySpec(MaterialParam param);
//
//
//    List<MaterialResult> findListBySpec(MaterialParam param);


    PageResult<MaterialResult> findPageBySpec(MaterialParam param);
    MaterialResult detail(Long fid);
    void add(MaterialParam param);
    void update(MaterialParam param);
    void batchChangeState(Object []fid, StatusEnum toEnum);

}
